﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Web.UI;

namespace Kevin.Controls
{
    
    
    /// <summary>
    /// 现在只支持Edit
    /// </summary>
    public class CommandFiled:DataField
    {
        public CommandFiled()
        {
            base.BindType = BindType.CommandField;
        }

        /// <summary>
        /// 命令类型
        /// </summary>
        [Description("命令类型：编辑或删除")]
        public CommandType CommandType
        {
            get;
            set;
        }

        public string ItemText
        {
            get;
            set;
        }

        [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
        [PersistenceMode(PersistenceMode.InnerProperty)]
        public EditItemCollection EditItems
        {
            get;
            set;
        }

        public string CallBack
        {
            get;
            set;
        }

        public TagPage TagPage
        {
            get;
            set;
        }

    }
}
